On the Optimality of Scheduling Strategies in Subsumption-based Tabled Resolution
نویسندگان
چکیده
Subsumption-based tabled logic programming promotes more aggressive reuse of answer tables over variant-based tabling. However resolving subgoals against answers in tabled logic programming may require accessing incomplete answer tables (i.e., more answers remain to be added). In subsumption-based tabling it is far more efficient to retrieve from completed tables. Scheduling strategies promote more frequent usage of such tables by exercising control over access to incomplete tables. Different choices in the control can lead to different sets of proof trees in the search forest produced by tabled resolution. The net effect is that depending on the scheduling strategy used, tabled logic programs under subsumption can exhibit substantial variations in performance. In this paper we establish that for subsumption-based tabled logic programming an optimal scheduling strategy does not exist— i.e., they are all incomparable in terms of time and space performance. Subsumption-based tabled resolution under call abstraction minimizes the set of proof trees constructed. In the presence of call abstraction, we show that there exists a family of scheduling strategies that minimize the number of calls that consume from incomplete answer tables produced by strictly more general calls.
منابع مشابه
Depth - First : Improving Tabled Logic Programsthrough Alternative Scheduling Strategies ?
Tabled evaluations ensure termination of logic programs with nite models by keeping track of which subgoals have been called. Given several variant subgoals in an evaluation , only the rst one encountered will use program clause resolution; the rest uses answer resolution. This use of answer resolution prevents innnite looping which happens in SLD. Given the asynchronicity of answer generation ...
متن کاملBeyond Depth-First: Improving Tabled Logic Programs through Alternative Scheduling Strategies
Tabled evaluation ensures termination for programs with nite models by keeping track of which subgoals have been called. Given several variant subgoals in an evaluation, only the rst one encountered will use program clause resolution; the rest will resolve with the answers generated by the rst subgoal. This use of answer resolution prevents innnite looping which sometimes happens in SLD. Becaus...
متن کاملBeyond Depth - First : Improving Tabled LogicPrograms through Alternative
Tabled evaluations ensure termination of logic programs with nite models by keeping track of which subgoals have been called. Given several variant subgoals in an evaluation, only the rst one encountered will use program clause resolution; the rest uses answer resolution. This use of answer resolution prevents innnite looping which happens in SLD. Given the asynchronicity of answer generation a...
متن کاملBeyond Depth - First : Improving Tabled
Tabled evaluations ensure termination of logic programs with nite models by keeping track of which subgoals have been called. Given several variant subgoals in an evaluation, only the rst one encountered will use program clause resolution; the rest uses answer resolution. This use of answer resolution prevents innnite looping which happens in SLD. Given the asynchronicity of answer generation a...
متن کاملBeyond Depth-First Strategies: Improving Tabled Logic Programs through Alternative Scheduling
Tabled evaluation ensures termination for programs with finite models by keeping track of which subgoals have been called. Given several variant subgoals in an evaluation, only the first one encountered will use program-clause resolution; the rest will resolve with the answers generated by the first subgoal. This use of answer resolution prevents infinite looping that sometimes happens in SLD. ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1998